package com.tju.backend.dao.sys_menu;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tju.backend.entity.SysMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysMenuMapper extends BaseMapper<SysMenu> {

    /**
     * Query the menu by login name
     *
     * @param loginName
     * @return
     */
    List<SysMenu> getMenusByUserName(@Param("loginName") String loginName);
}